package com.javaPro.myProject.modules.user.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    private String id;
    private String iid;
    private String userId;
    /**
     * 检查user 表 该id 是否存在
     */
    private String checkUserId;

    private String account;

    private String userName;
    private String uNickName;

    private String password;

    /** 性别（0女，1男） */
    private String gender;
    private String role;

    private String className;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    private String createBy;

    private String updateBy;

    private String status;
    private String searchKey;
    /**
     * 照片
     */
    private String img;

    private Integer total;

    private Integer workNumber;
    private Integer age;
    /**
     * 身份证
     */
    private String idCard;
    /**
     * 档案号
     */
    private String phoneNumber;
     private String lisenCode;
     private String insertFa;

     private String teacherId;

}
